package com.jic.interaction.ChinaPost.service;


import com.jic.common.base.vo.RestResult;
import com.jic.interaction.ChinaPost.model.vo.request.OrderInfoRequest;
import com.jic.interaction.ChinaPost.model.vo.request.OrderLogisticsInfoRequest;

import java.io.IOException;
import java.util.concurrent.ExecutionException;

/**
 * <p>
 * 订单信息同步接口
 * </p>
 *
 * @author syf
 * @since 2020-11-05
 */
public interface OrderInfoService {

    //同步订单信息接口
    RestResult<?> orderInfosync(OrderInfoRequest orderInfoRequest) throws InterruptedException, ExecutionException, IOException;

    //同步物流信息接口
    RestResult<?>  logisticsSync(OrderLogisticsInfoRequest orderLogisticsInfoRequest) throws InterruptedException, ExecutionException, IOException;
}
